package com.survey.project.research.domain.vo;

import com.survey.framework.aspectj.lang.annotation.Excel;
import lombok.Data;

import java.util.List;

/**
 * 问题EXCEL
 *
 * @author KYC
 * @date 2021-05-26
 */
@Data
public class QuestionnaireQuestionExcelVo {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private Long questionId;

    /**
     * 调研问卷编号
     */
    @Excel(name = "调研问卷编号")
    private String questionnaireNo;

    /**
     * 问题序号
     */
    @Excel(name = "问题序号")
    private Long questionNo;

    /**
     * 父问题序号(没有父级为0)
     */
    @Excel(name = "父问题序号(没有父级为0)")
    private Long pNo;

    /**
     * 问题类型(1-单选,2-判断,3-多选,4-简答)
     */
    @Excel(name = "问题类型(单选,判断,多选,简答)",readConverterExp = "1=单选,2=判断,3=多选,4=简答")
    private Integer questionType;

    /**
     * 问题内容
     */
    @Excel(name = "问题内容")
    private String questionContent;

    /**
     * 选项内容(用';'分隔)
     */
    @Excel(name = "选项内容(用';'分隔)")
    private String choices;

    /**
     * 关联选项序号
     */
    @Excel(name = "关联选项序号(用';'分隔)")
    private String choiceNos;

    /**
     * 多选题是否有简答框(0-否,1-是)
     */
    @Excel(name = "多选题是否有简答框(是,否)",readConverterExp = "0=否,1=是")
    private String isCheckDesc;


}
